/* 顶部导航栏 */
.header {
  /*顶部导航栏背景的样式*/
  width: 100%;
  height: 90px;
  overflow-x: hidden;
  position: fixed;
  z-index: 99999;
}

/* 顶部导航栏内层div */
.header-container {
  width: 100%;
  height: 100%;

  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
}

/*logo的样式*/
.header .head-logo {
  width: 100%;
  text-align: center;
}
.header .head-logo > img {
  border-radius: 20%;
}

/* 导航栏正文部分 */
.nav_container {
  width: 100%;
  text-align: center;
}

/* 导航栏超链接 */
.header .nav-item {
  list-style: none;
  text-align: center;
  display: inline-block;

  margin: 0 10px;
}

.nav_container .nav {
  padding: 0;
  display: inline-block;
}

.header .nav-item a {
  color: white;
  font-weight: 200;
}

.nav_container .nav-item a {
  padding: 10px 15px;
  border-radius: 30px;
}

.nav_container .nav-item a:hover,
.nav_container .nav-item a:visited {
  color: white;
  background-color: #00000052;
}

/* 工作台按钮 */
#work-btn {
  cursor: pointer;
  background-color: #741f9db3;
  border-radius: 8px;
  display: block;
  width: 120px;
  height: 40px;
  line-height: 40px;
  user-select: none;
  text-align: center;
  color: white;
  transition: all 0.28s;
  font-size: 14px;
}
#work-btn:hover {
  background-color: #40075bbf;
}

/* ********** 下面是动画效果 ********** */
.nav-link,
#logoImg {
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.24, -0.33, 0, 1.41);
}

#logoImg:hover {
  transform: scale(1.2) rotate(-3deg);
}
